package com.yj.timecapsule.mapper;

import com.yj.timecapsule.entity.SmsCode;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SmsCodeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SmsCode record);

    int insertSelective(SmsCode record);

    SmsCode selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SmsCode record);

    int updateByPrimaryKey(SmsCode record);

    List<SmsCode> selectByPhone(String phone);
}